@tailwind base;
@tailwind components;
@tailwind utilities;
@basicClolr: red;

@font-face {
  font-family: iconfont;
  src: url('/public/font/iconfont.eot?t=1712658408786'); /* IE9 */
  src:
    url('public/font/iconfont.eot?t=1712658408786#iefix') format('embedded-opentype'),
    /* IE6-IE8 */ url('/public/font/iconfont.woff2?t=1712658408786') format('woff2'),
    url('public/font/iconfont.woff?t=1712658408786') format('woff'),
    url('public/font/iconfont.ttf?t=1712658408786') format('truetype'),
    url('public/font/iconfont.svg?t=1712658408786#iconfont') format('svg');
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#app {
  font-family: MicrosoftYaHeiUI;
  // width: 1920px;
  // height: 1080px;
  // min-width: 1100px;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
  // background-size: 1920px 1080px;
  user-select: none;
  // background: #082646;
  overflow-y: auto;
}

::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  margin-right: 4px;
  height: 1px;
}
::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  // box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
  background: #e6f1ff;
}
::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  // box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
  border-radius: 2px;
  background: transparent;
}

.n-config-provider {
  height: 100%;
}

.amap-logo {
  opacity: 0 !important;
}
.amap-copyright {
  opacity: 0;
}

// 解决地图加载时露出底色,而造成闪烁白屏的问题
.amap-container {
  background-color: transparent !important;
}

// 解决在naive弹窗中tinymce弹框层级过低,被盖住问题(这个问题只会发生在naive弹窗挂载在body下)
.tox,
.tox-silver-sink,
.tox-tinymce-aux {
  z-index: 2001 !important;
}

// 隐藏tinymce提醒注册信息
.tox-notifications-container {
  visibility: hidden;
}
